import {createRouter, createWebHistory} from "vue-router";
import Home from '@/Pages/Home.vue'
import About from '@/Pages/About.vue'
import News from '@/Pages/News.vue'

const router = createRouter({
    history: createWebHistory(),
    routes: [
        {
            path: '/home',
            component: Home
        },
        {
            path: '/news',
            component: News
        },
        {
            path: '/about',
            component: About
        }
    ]
})

export default router